package work1;

public class Manager {
    //定义经理类的属性
    private String name;
    private int id;
    private double salary;
    private double bonus;

    public Manager(){

    }

    public Manager(String name,int id,double salary,double bonus){
        this.name=name;
        this.id=id;
        this.salary=salary;
        this.bonus=bonus;
    }

    public String getName() {
        return name;
    }

    public int getId() {
        return id;
    }

    public double getSalary() {
        return salary;
    }

    public double getBonus() {
        return bonus;
    }



    public void setName(String name) {
        this.name = name;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }

    public void setBonus(double bonus) {
        this.bonus = bonus;
    }

    public void work(){
        System.out.println("正在努力的做着管理工作！");
    }

}
